MRuby::Gem::Specification.new('picoruby-net-http') do |spec|
  spec.license = 'MIT'
  spec.author  = 'HASUMI Hitoshi'
  spec.summary = 'CRuby-compatible Net::HTTP implementation for PicoRuby'
  spec.description = 'HTTP client library for PicoRuby, providing Net::HTTP interface compatible with CRuby'

  spec.require_name = 'net/http'

  # Dependency on picoruby-socket for TCP/SSL socket support
  spec.add_dependency 'picoruby-socket'
  if build.vm_mrubyc?
    spec.add_dependency 'picoruby-metaprog'
  end
end
